/*
 * DeclElement.h
 *
 *  Created on: 19 mars 2012
 *      Author: ubberlisk
 */

#ifndef DECLELEMENT_H_
#define DECLELEMENT_H_
#include <vector>
#include <string>
#include <iostream>
#include "ContentDTD.h"
using namespace std;

//cette classe stocke la declaration d'un element comme <!ELEMENT nom(fils1,fils2...)>
class DeclElement {
public:
	DeclElement();
	DeclElement(string* name);
	virtual ~DeclElement();
	string setName(string name);
	string getName(){return nom;};
	ContentDTD * setContentDTD(ContentDTD * pContent);
	ContentDTD * getContentDTD();
	virtual void afficher();

protected:

	string nom;
	ContentDTD * content; // sequence ou choix ou item

};

#endif /* DECLELEMENT_H_ */
